import Vue from 'vue'
import Router from 'vue-router'

import goods from '../components/goods.vue'
import ratings from '../components/ratings.vue'
import shops from '../components/shops.vue'

Vue.use(Router)


export default new Router({
  routes: [
    {path:'/',redirect:'/goods'},
    {path:'/goods',component:goods},
    {path:'/ratings',component:ratings},
    {path:'/shops',component:shops}
     ]
})
